﻿

using System.Collections.Generic;

namespace WorldMapBase.Tile.Pool
{
    public class ListPool<V> : ObjectPool<List<V>>
    {
        public ListPool(int capacity, bool enableAutoShrink, int idleMaxCount, int frameShrinkCount, float shrinkIntervalTime) :
            base(capacity, enableAutoShrink, idleMaxCount, frameShrinkCount, shrinkIntervalTime)
        {

        }
        protected override List<V> ConstructItem()
        {
            var list = new List<V>();

            return list;
        }
    }
}
